-- GENERATED SPELL FOR [Shadowfang Ragetooth] --


function spell0_3859(pUnit, Event) --@Wild Rage,Self--
pUnit:FullCastSpellOnTarget(7072,pUnit)
pUnit:RegisterEvent('Sorts_3859', 667, 1)
end

function Sorts_3859(pUnit, Event)
local choix_sorts_3859 = math.random(0, 0)
if choix_sorts_3859 == 0 then
pUnit:RegisterEvent('spell0_3859', 1, 1)
end
end

function mob3859_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3859', math.random(1500, 3000), 1)
end

function mob3859_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3859_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3859_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3859, 1, 'mob3859_Action')
RegisterUnitEvent(3859, 2, 'mob3859_Leave')
RegisterUnitEvent(3859, 3, 'mob3859_Kill')
RegisterUnitEvent(3859, 4, 'mob3859_Die')
